package com.znsd.exam.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.znsd.entitys.ExamHistoryInfo;
import com.znsd.entitys.ExamHistoryPaper;

@Repository
public interface ExamHistoryPaperDao {
	public List<ExamHistoryInfo> getExamHistoryToTeacher();
	public List<ExamHistoryPaper> getExamHistoryToStudent(Integer studentId);
	public int getHistoryInfoWithIds(Map<String, Object> map);
	public int isAddExamHistory(Map<String, Object> map);
	public int isDeleteExamHistroy(int examPaperId);
	public Integer save(ExamHistoryInfo examHistoryInfo);
	public ExamHistoryInfo getUserCheck(Map<String, Integer> map);
}
